package com.ruoyi.manage.article.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户认证管理对象 auth_info
 * 
 * @author ruoyi
 * @date 2024-11-22
 */
public class AuthInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    //企业名称
    @Excel(name="企业名称")
    private String bodyName;
    //角色
    @Excel(name="角色")
    private String roleName;
    //手机号

    //统一社会信用代码
    @Excel(name="统一社会信用代码")
    private String unifyCreditCode;


    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** $column.columnComment */
    private Long userId;

    /** $column.columnComment */
    private Long roleId;

    /** 营业执照 */
    @Excel(name = "营业执照")
    private String businessLicense;

    /** 经营范围 */
    @Excel(name = "经营范围")
    private String businessScope;

    /** 企业地址 */
    @Excel(name = "企业地址")
    private String businessAddress;

    private String businessAddressDetail;

    /** 营业期限(开始) */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "营业期限(开始)", width = 30, dateFormat = "yyyy-MM-dd")
    private Date businessPeriodStart;

    /** 营业期限（结束）空值为无固定期限 */
    @Excel(name = "营业期限", readConverterExp = "结=束")
    private Date businessPeriodEnd;

    /** 是否长期（0短期，1长期） */
    @Excel(name = "是否长期", readConverterExp = "0=短期，1长期")
    private Long businessPeriodLong;


    /** 账号管理人姓名 */
    @Excel(name = "账号管理人姓名")
    private String managerName;

    /** 账号管理人身份证号 */
    @Excel(name = "账号管理人身份证号")
    private String managerIdNum;

    /** 账号管理人邮箱 */
    @Excel(name = "账号管理人邮箱")
    private String managerEmail;

    /** 账号管理人授权书 */
    @Excel(name = "账号管理人授权书")
    private String managerLetter;

    /** 注册资本（万） */
    @Excel(name = "注册资本", readConverterExp = "万=")
    private Long capital;

    /** 所属行业 */
    @Excel(name = "所属行业")
    private String industry;


    /** 主营业务描述 */
    @Excel(name = "主营业务描述")
    private String mainDescription;

    /** 数据业务描述 */
    @Excel(name = "数据业务描述")
    private String dataDescription;

    /** 企业介绍 */
    @Excel(name = "企业介绍")
    private String introduce;

    /** 历史业绩 */
    @Excel(name = "历史业绩")
    private String performance;

    /** 认证状态（0待审核，1审核通过，2驳回） */
    @Excel(name = "认证状态", readConverterExp = "0=待审核，1审核通过，2驳回")
    private Long status;
    @Excel(name="手机号")
    private String phone;
    /** 驳回原因 */
    @Excel(name = "驳回原因")
    private String rejectionReasons;


    //其他材料
    private String material;

    public String getMaterial() {
        return material;
    }

    @Override
    public String toString() {
        return "AuthInfo{" +
                "bodyName='" + bodyName + '\'' +
                ", roleName='" + roleName + '\'' +
                ", unifyCreditCode='" + unifyCreditCode + '\'' +
                ", id=" + id +
                ", userId=" + userId +
                ", roleId=" + roleId +
                ", businessLicense='" + businessLicense + '\'' +
                ", businessScope='" + businessScope + '\'' +
                ", businessAddress='" + businessAddress + '\'' +
                ", businessAddressDetail='" + businessAddressDetail + '\'' +
                ", businessPeriodStart=" + businessPeriodStart +
                ", businessPeriodEnd=" + businessPeriodEnd +
                ", businessPeriodLong=" + businessPeriodLong +
                ", managerName='" + managerName + '\'' +
                ", managerIdNum='" + managerIdNum + '\'' +
                ", managerEmail='" + managerEmail + '\'' +
                ", managerLetter='" + managerLetter + '\'' +
                ", capital=" + capital +
                ", industry='" + industry + '\'' +
                ", mainDescription='" + mainDescription + '\'' +
                ", dataDescription='" + dataDescription + '\'' +
                ", introduce='" + introduce + '\'' +
                ", performance='" + performance + '\'' +
                ", status=" + status +
                ", phone='" + phone + '\'' +
                ", rejectionReasons='" + rejectionReasons + '\'' +
                ", material='" + material + '\'' +
                ", sid=" + sid +
                ", functionaryScore=" + functionaryScore +
                ", forensicExpertScore=" + forensicExpertScore +
                ", managerScore=" + managerScore +
                ", levelScore=" + levelScore +
                ", commendScore=" + commendScore +
                ", nonstandardScore=" + nonstandardScore +
                ", basicFinalScore=" + basicFinalScore +
                ", auditReportScore=" + auditReportScore +
                ", importantDocumentScore=" + importantDocumentScore +
                ", evaluationBasisScore=" + evaluationBasisScore +
                ", contentDescriptionScore=" + contentDescriptionScore +
                ", wordPaperScore=" + wordPaperScore +
                ", signScore=" + signScore +
                ", qualityFinalScore=" + qualityFinalScore +
                ", personnelRequirementScore=" + personnelRequirementScore +
                ", qualificationrequirementScore=" + qualificationrequirementScore +
                ", successfulCaseScore=" + successfulCaseScore +
                ", selfNumberModificationScore=" + selfNumberModificationScore +
                ", otherRelatedScore=" + otherRelatedScore +
                ", elementFinalScore=" + elementFinalScore +
                ", finalScore=" + finalScore +
                '}';
    }

    public void setMaterial(String material) {
        this.material = material;
    }

    private Long sid;

    public Long getSid() {
        return sid;
    }

    public Integer getContentDescriptionScore() {
        return contentDescriptionScore;
    }

    public void setContentDescriptionScore(Integer contentDescriptionScore) {
        this.contentDescriptionScore = contentDescriptionScore;
    }

    public void setSid(Long sid) {
        this.sid = sid;
    }

    private Integer functionaryScore;
    //注册价格鉴证师数量:1.注册价格鉴证师人数≥4人得8分，每减少1人减2分，每增加1人加2分。
    private Integer forensicExpertScore;
    //价格评估机构管理制度:查验机构内控管理制度文件。有质量管理制度得2分；有档案管理制度得1分；有财务管理制度得1分；有廉洁、保密制度得1分。
    private Integer managerScore;
    //查验资质等级与会员级别：1.甲级得6分，2.乙级4分，3.备案三年以上机构得2分。4.副会长单位加4分，常务理事单位加2分，理事单位加1分。
    private Integer levelScore;
    //近三年获奖/表彰和近3年参与慈善公益活动情况:企业在价格鉴证评估活动中获得市级及以上人民政府的表彰、表扬或奖励的；受到人民法院、仲裁机构表彰、表扬或奖励的；获得行业协会表彰、表扬或奖励的；近3年参与救灾、捐款、物资捐赠、助教、助残、扶贫等慈善公益活动的。以上，每次2分。
    private Integer commendScore;
    //机构及人员不规范行为:受到批评或有效反馈鉴定机构存在不规范行为的，经查实每项扣5分。无正当理由拖延评估期限，扣5分；发生其他应扣事项的，扣5分。
    private Integer nonstandardScore;
    //机构与人员基本情况得分小计
    private Integer basicFinalScore;
    //查验审计报告:年收入100万元及以上得10分，年收入50万元（含）不足100万元的得5分，年收入20万元（含）不足50万元的得3分，不足20万元的此项不得分。
    private Integer auditReportScore;
    //要件是否齐全:评估报告14项
    private Integer importantDocumentScore;
    //价格鉴定/评估依据:价格鉴定/评估依据齐全、适当
    private Integer evaluationBasisScore;
    //报告内容描述:报告内容描述简明、扼要、齐全完整
    private Integer contentDescriptionScore;
    //工作底稿:工作底稿勘验笔录、照片、询价记录、测算过程等要件齐全
    private Integer wordPaperScore;
    //签字:签字人员签字，个人资质有效
    private Integer signScore;
    //机构业绩与报告质量情况得分小计
    private Integer qualityFinalScore;
    //人员要求:参与过平台认可的数据资产培训并取得执业资格证书的人员，每增加一人得2分。
    private Integer personnelRequirementScore;
    //资质要求:拥有北数、上数、福数、杭数、深数等与平台合作数交所认证的数商资格（需提供相关证明文件），每增加一个数交所资质可得5分。
    private Integer qualificationrequirementScore;
    //成功案例:评估机构参与并推动企业数据资产相关业务落地的成功案例，每服务一家企业数据资产登记项目得10分、每服务一家企业数易贷业务得20分、每服务一家企业数据资产评估入表业务得30分。
    private Integer successfulCaseScore;
    //自身数改:评估机构本身已完成数据资产登记得10分、完成数易贷业务得20分、数据资产评估入表得30分。


    private Integer selfNumberModificationScore;
    //其他相关:评估机构是否开展或组织过数据要素相关活动，例如培训、讲座、沙龙等，经市级以上官方媒体发布一次得10分、经省级官方媒体发布一次得15分、经服务平台参与并认证的得20分。

    private Integer otherRelatedScore;
    //机构数据要素评价情况得分小计
    private Integer elementFinalScore;
    //总分
    private Integer finalScore;


    public Integer getWordPaperScore() {
        return wordPaperScore;
    }

    public void setWordPaperScore(Integer wordPaperScore) {
        this.wordPaperScore = wordPaperScore;
    }

    public Integer getFunctionaryScore() {
        return functionaryScore;
    }

    public void setFunctionaryScore(Integer functionaryScore) {
        this.functionaryScore = functionaryScore;
    }

    public Integer getForensicExpertScore() {
        return forensicExpertScore;
    }

    public void setForensicExpertScore(Integer forensicExpertScore) {
        this.forensicExpertScore = forensicExpertScore;
    }

    public Integer getManagerScore() {
        return managerScore;
    }

    public void setManagerScore(Integer managerScore) {
        this.managerScore = managerScore;
    }

    public Integer getLevelScore() {
        return levelScore;
    }

    public void setLevelScore(Integer levelScore) {
        this.levelScore = levelScore;
    }

    public Integer getCommendScore() {
        return commendScore;
    }

    public void setCommendScore(Integer commendScore) {
        this.commendScore = commendScore;
    }

    public Integer getNonstandardScore() {
        return nonstandardScore;
    }

    public void setNonstandardScore(Integer nonstandardScore) {
        this.nonstandardScore = nonstandardScore;
    }

    public Integer getBasicFinalScore() {
        return basicFinalScore;
    }

    public void setBasicFinalScore(Integer basicFinalScore) {
        this.basicFinalScore = basicFinalScore;
    }

    public Integer getAuditReportScore() {
        return auditReportScore;
    }

    public void setAuditReportScore(Integer auditReportScore) {
        this.auditReportScore = auditReportScore;
    }

    public Integer getImportantDocumentScore() {
        return importantDocumentScore;
    }

    public void setImportantDocumentScore(Integer importantDocumentScore) {
        this.importantDocumentScore = importantDocumentScore;
    }

    public Integer getEvaluationBasisScore() {
        return evaluationBasisScore;
    }

    public void setEvaluationBasisScore(Integer evaluationBasisScore) {
        this.evaluationBasisScore = evaluationBasisScore;
    }






    public Integer getSignScore() {
        return signScore;
    }

    public void setSignScore(Integer signScore) {
        this.signScore = signScore;
    }

    public Integer getQualityFinalScore() {
        return qualityFinalScore;
    }

    public void setQualityFinalScore(Integer qualityFinalScore) {
        this.qualityFinalScore = qualityFinalScore;
    }

    public Integer getPersonnelRequirementScore() {
        return personnelRequirementScore;
    }

    public void setPersonnelRequirementScore(Integer personnelRequirementScore) {
        this.personnelRequirementScore = personnelRequirementScore;
    }

    public Integer getQualificationrequirementScore() {
        return qualificationrequirementScore;
    }

    public void setQualificationrequirementScore(Integer qualificationrequirementScore) {
        this.qualificationrequirementScore = qualificationrequirementScore;
    }

    public Integer getSuccessfulCaseScore() {
        return successfulCaseScore;
    }

    public void setSuccessfulCaseScore(Integer successfulCaseScore) {
        this.successfulCaseScore = successfulCaseScore;
    }

    public Integer getSelfNumberModificationScore() {
        return selfNumberModificationScore;
    }

    public void setSelfNumberModificationScore(Integer selfNumberModificationScore) {
        this.selfNumberModificationScore = selfNumberModificationScore;
    }

    public Integer getOtherRelatedScore() {
        return otherRelatedScore;
    }

    public void setOtherRelatedScore(Integer otherRelatedScore) {
        this.otherRelatedScore = otherRelatedScore;
    }

    public Integer getElementFinalScore() {
        return elementFinalScore;
    }

    public void setElementFinalScore(Integer elementFinalScore) {
        this.elementFinalScore = elementFinalScore;
    }

    public Integer getFinalScore() {
        return finalScore;
    }

    public void setFinalScore(Integer finalScore) {
        this.finalScore = finalScore;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setRoleId(Long roleId) 
    {
        this.roleId = roleId;
    }

    public Long getRoleId() 
    {
        return roleId;
    }
    public void setBusinessLicense(String businessLicense) 
    {
        this.businessLicense = businessLicense;
    }

    public String getBusinessLicense() 
    {
        return businessLicense;
    }
    public void setBusinessScope(String businessScope) 
    {
        this.businessScope = businessScope;
    }

    public String getBusinessScope() 
    {
        return businessScope;
    }
    public void setBusinessAddress(String businessAddress) 
    {
        this.businessAddress = businessAddress;
    }

    public String getBusinessAddress() 
    {
        return businessAddress;
    }
    public void setBusinessPeriodStart(Date businessPeriodStart) 
    {
        this.businessPeriodStart = businessPeriodStart;
    }

    public Date getBusinessPeriodStart() 
    {
        return businessPeriodStart;
    }
    public void setBusinessPeriodEnd(Date businessPeriodEnd) 
    {
        this.businessPeriodEnd = businessPeriodEnd;
    }

    public Date getBusinessPeriodEnd() 
    {
        return businessPeriodEnd;
    }
    public void setBusinessPeriodLong(Long businessPeriodLong) 
    {
        this.businessPeriodLong = businessPeriodLong;
    }

    public Long getBusinessPeriodLong() 
    {
        return businessPeriodLong;
    }


    public String getBusinessAddressDetail() {
        return businessAddressDetail;
    }

    public void setBusinessAddressDetail(String businessAddressDetail) {
        this.businessAddressDetail = businessAddressDetail;
    }


    public void setManagerName(String managerName) 
    {
        this.managerName = managerName;
    }

    public String getManagerName() 
    {
        return managerName;
    }
    public void setManagerIdNum(String managerIdNum) 
    {
        this.managerIdNum = managerIdNum;
    }

    public String getManagerIdNum() 
    {
        return managerIdNum;
    }

    public void setManagerEmail(String managerEmail) 
    {
        this.managerEmail = managerEmail;
    }

    public String getManagerEmail() 
    {
        return managerEmail;
    }
    public void setManagerLetter(String managerLetter) 
    {
        this.managerLetter = managerLetter;
    }

    public String getManagerLetter() 
    {
        return managerLetter;
    }
    public void setCapital(Long capital) 
    {
        this.capital = capital;
    }

    public Long getCapital() 
    {
        return capital;
    }
    public void setIndustry(String industry) 
    {
        this.industry = industry;
    }

    public String getIndustry() 
    {
        return industry;
    }

    public void setMainDescription(String mainDescription) 
    {
        this.mainDescription = mainDescription;
    }

    public String getMainDescription() 
    {
        return mainDescription;
    }
    public void setDataDescription(String dataDescription) 
    {
        this.dataDescription = dataDescription;
    }

    public String getDataDescription() 
    {
        return dataDescription;
    }
    public void setIntroduce(String introduce) 
    {
        this.introduce = introduce;
    }

    public String getIntroduce() 
    {
        return introduce;
    }
    public void setPerformance(String performance) 
    {
        this.performance = performance;
    }

    public String getPerformance() 
    {
        return performance;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setRejectionReasons(String rejectionReasons) 
    {
        this.rejectionReasons = rejectionReasons;
    }

    public String getRejectionReasons() 
    {
        return rejectionReasons;
    }

    public String getBodyName() {
        return bodyName;
    }

    public void setBodyName(String bodyName) {
        this.bodyName = bodyName;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUnifyCreditCode() {
        return unifyCreditCode;
    }

    public void setUnifyCreditCode(String unifyCreditCode) {
        this.unifyCreditCode = unifyCreditCode;
    }


}
